package org.xin.generate.pojo.config;

import lombok.*;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author ：xin
 * @date ：Created in 16:29
 * @description：
 * @modified By：$
 * @version: $
 */

@Component
@ConfigurationProperties(prefix = "datasource")
@AllArgsConstructor
@NoArgsConstructor
@Getter
@Setter
@ToString
public class Source {
    private String driverClassName;
    private String url;
    private String username;
    private String password;
    private String database;
}
